package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.Student8Mapper;
import com.ruoyi.system.domain.Student8;
import com.ruoyi.system.service.IStudent8Service;

/**
 * 学生表8Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-02-13
 */
@Service
public class Student8ServiceImpl implements IStudent8Service 
{
    @Autowired
    private Student8Mapper student8Mapper;

    /**
     * 查询学生表8
     * 
     * @param id 学生表8主键
     * @return 学生表8
     */
    @Override
    public Student8 selectStudent8ById(Long id)
    {
        return student8Mapper.selectStudent8ById(id);
    }

    /**
     * 查询学生表8列表
     * 
     * @param student8 学生表8
     * @return 学生表8
     */
    @Override
    public List<Student8> selectStudent8List(Student8 student8)
    {
        return student8Mapper.selectStudent8List(student8);
    }

    /**
     * 新增学生表8
     * 
     * @param student8 学生表8
     * @return 结果
     */
    @Override
    public int insertStudent8(Student8 student8)
    {
        return student8Mapper.insertStudent8(student8);
    }

    /**
     * 修改学生表8
     * 
     * @param student8 学生表8
     * @return 结果
     */
    @Override
    public int updateStudent8(Student8 student8)
    {
        return student8Mapper.updateStudent8(student8);
    }

    /**
     * 批量删除学生表8
     * 
     * @param ids 需要删除的学生表8主键
     * @return 结果
     */
    @Override
    public int deleteStudent8ByIds(Long[] ids)
    {
        return student8Mapper.deleteStudent8ByIds(ids);
    }

    /**
     * 删除学生表8信息
     * 
     * @param id 学生表8主键
     * @return 结果
     */
    @Override
    public int deleteStudent8ById(Long id)
    {
        return student8Mapper.deleteStudent8ById(id);
    }
}
